From: Jonas Dreßler Date: Tue, 21 Jan 2020 09:39:33 +0000 (+0100) Subject: shellMountOperation: Use wiggle effect to inform about wrong password X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~68 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ddeb2fa05d8f0f5f23ab3ebb7d504909eaa74550;p=gnome-shell.git shellMountOperation: Use wiggle effect to inform about wrong password https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942 --- diff --git a/js/ui/shellMountOperation.js b/js/ui/shellMountOperation.js index f5754c6e2..c6e6def8c 100644 --- a/js/ui/shellMountOperation.js +++ b/js/ui/shellMountOperation.js @@ -13,6 +13,7 @@ const Params = imports.misc.params; const ShellEntry = imports.ui.shellEntry; const { loadInterfaceXML } = imports.misc.fileUtils; +const Util = imports.misc.util; var LIST_ITEM_ICON_SIZE = 48; var WORK_SPINNER_ICON_SIZE = 16; @@ -400,6 +401,8 @@ var ShellMountPasswordDialog = GObject.registerClass({ this._passwordEntry.set_text(''); this._errorMessageLabel.text = _('Sorry, that didn’t work. Please try again.'); this._errorMessageLabel.opacity = 255; + + Util.wiggle(this._passwordEntry); } _onCancelButton() {